<!-- 文件预览1 -->
<div class="knowledgexjwjylbodymain" ng-if="isdata.divhide">
    <div class="knowledgexjwjylbodymainbj" ng-click="ishidefun()" >
    </div>
    <div class="knowledgexjwjyl" >
        <div class="knowledgexjwjylbody">
            <div class="knowledgexjwjylbodytitle" style="min-height: 20px;">
                <div class="knowledgexjwjylbodytitle_name" ng-bind="isdata.data.fileName">
                    </div>
                <div class="knowledgexjwjylbodytitleright">

                <div ng-if="imghide(isdata.data.fileType)">
                    <img id="r_img"   src="/images/btnloading.gif"/>
                </div>

                    <div ng-if="false">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-gengxin"></use></svg>
                        更新</div>                  
                    <div  ng-if="isdata.data.status == 4">
                        正在转码
                    </div>
                    <!--<div ng-if="isdata.data.status == 0">
                        <a ng-href="{{isdata.data.fileurlonly}}" download="{{isdata.data.fileName}}" style="color: #39f;text-decoration: none;">
                            <svg class="icon" aria-hidden="true" ><use xlink:href="#icon-xiazai" ></use></svg>
                            下载文件
                        </a>
                    </div>-->
                    <div ng-click="openPath(isdata.data)" ng-if="isdata.data.status == 0&&sysUserInfo.powerLV!=3">
                        <svg class="icon" aria-hidden="true" ><use xlink:href="#icon-xiazai2" ></use></svg>
                        获取地址</div>
                    <div class="" ng-if="false">
                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-icon27"></use></svg>
                        更多</div>
                </div>
                <div class="close" ng-click="ishidefun()">
                    <span>+</span></div>
            </div>
            <div class="knowledgexjwjylmain" ng-style="{{docstyle}}">            
                <!--txt-->
               <!-- <iframe class="knowledgewenjianyulan" ng-src="{{isdata.data.filepreview | trustAsResourceUrl}}"  ng-if="txthide(isdata.data.fileType)"  ></iframe>           -->     
                <!--mp3 mp4-->
                <video controls autoplay class="knowledgewenjianyulan knowledgewenjianyulanvideo" ng-if="videohide(isdata.data.fileType) || mp3hide(isdata.data.fileType)" ng-style="{{docstyle}}">                 
                     <!--<source src="http://img.ksbbs.com/asset/Mon_1605/25d705200a4eab4.mp4" type="video/mp4">                                             -->
                     <source ng-src="{{isdata.data.filepreview | trustAsResourceUrl}}" type="video/mp4" ng-if="videohide(isdata.data.fileType)">                 
                     <source ng-src="{{isdata.data.filepreview | trustAsResourceUrl}}" type="audio/mpeg"  ng-if="mp3hide(isdata.data.fileType)"/>                     
                        您的浏览器不支持 video 标签。
                </video>          
                <!--doc ....-->
                <iframe class="knowledgewenjianyulan" ng-src="{{getpdfUrl(isdata.data.filepreview) | trustAsResourceUrl}}" ng-if="pdfhide(isdata.data.fileType)" ng-style="{{docstyle}}"></iframe>
                <!--ckt-->
                <div class="knowledgewenjianyulan knowledgewenjianyulanzip" ng-if="ckthide(isdata.data.fileType)"  ng-style="{{docstyle}}" >
                   <div class="knowledgewenjianzip">
                       <div class="knowledgewenjian_top">
                            <div class="knowledgewenjian_topimg"><img ng-src="/images/fileicon/{{isdata.data.fileType}}_56.png" src="/images/fileicon/qita_56.png"
                                        onerror="javascript:this.src='/images/fileicon/ckt_56.png'" /></div>
                            <div class="knowledgewenjian_topliexing" ng-bind="isdata.data.fileType"></div>  
                       </div>
                       <a href="{{isdata.data.fileurlonly}}" target="_blank"  style="text-decoration: none;">
                        <div class="knowledgewenjian_bottom">浏览器打开</div>
                       </a>
                   </div>
                </div>     
               <!-- <iframe class="knowledgewenjianyulan" ng-src="{{isdata.data.fileurlonly | trustAsResourceUrl}}" ng-if="ckthide(isdata.data.fileType)" ng-style="{{docstyle}}"></iframe>-->
                <!--img-->                  
                 <div class="knowledgewenjianyulan knowledgewenjianyulanimg" ng-style="{{docstyle}}" ng-if="imghide(isdata.data.fileType)">

                 
                 <img id="fileimg" ng-src="{{isdata.data.filepreview | trustAsResourceUrl}}"  err-src="/images/loading.gif" on-finish-render />

                 </div> 
                 <!--其他-->    
                 <div class="knowledgewenjianyulan knowledgewenjianyulanzip" ng-if="otherhide(isdata.data.fileType)"  ng-style="{{docstyle}}" >
                   <div class="knowledgewenjianzip">
                       <div class="knowledgewenjian_top">
                            <div class="knowledgewenjian_topimg"><img ng-src="/images/fileicon/{{isdata.data.fileType}}_56.png" src="/images/fileicon/qita_56.png"
                                        onerror="javascript:this.src='/images/fileicon/qita_56.png'" /></div>
                            <div class="knowledgewenjian_topliexing" ng-bind="isdata.data.fileType"></div>  
                       </div>
                       <a href="javascript:void(0);" id="oDownLoad"  style=" display:none;"></a>
                       <!--<div class="knowledgewenjian_bottom" onclick="download('{{isdata.data.fileurlonly}}','{{isdata.data.fileName}}','text/plain') ">文件下载（{{ isdata.data.fileSize |to_size}}）</div>-->
                       <div class="knowledgewenjian_bottom" ng-click="openPath(isdata.data)" ng-if="sysUserInfo.powerLV!=3">获取地址（{{ isdata.data.fileSize |to_size}}）</div>
                   </div>
                </div>       
        </div>
    </div>
</div>
<filepath isdata="pathisdata" ng-if="pathisdata.isShow"></filepath>
</div>
